package edu.spec.rxz.week08.class2;

public class TestOne {
    public static void main(String[] args) {
        Bear bear=new Bear("北极熊","海豹","北极");
        System.out.println(bear.wholeLife());

        Frog frog=new Frog("蟾蜍","昆虫","池塘边");
        System.out.println(frog.wholeLife());

    }
}
